//
//  KYLoginView.h
//  KYKJPackDemo
//
//  Created by Jordan zhou on 2017/9/28.
//  Copyright © 2017年 ???. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "KYCodeButton.h"

typedef enum : NSUInteger {
    /**
     *  发送验证码
     */
    KYLoginViewPostCodeBtnType,
    /**
     *  点击完成跳转
     */
    KYLoginViewLoginBtnType
    
} KYLoginViewButtonType;

@class KYLoginView;

@protocol KYLoginViewDelegate <NSObject>
@optional

- (void)loginView:(KYLoginView *)loginView didClickPostCodeButton:(KYCodeButton *)button;

@end

@interface KYLoginView : UIView

+ (instancetype)customLoginView;

@property (nonatomic, weak) id <KYLoginViewDelegate> delegate;

@end
